-
Notifications
You must be signed in to change notification settings - Fork 1
[Feat] #671 dev 서버 Lambda 배포를 위한 설정 추가 #672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+440
−77
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 람다 환경에서 WebClient 를 사용할 수 없기 때문 - 기존에 해당 부분을 WebClient로 작성했던 정확한 의도는 파악하지 못했으나 블로킹 작업만 처리하고 있고 해당 작업은 RestClient를 사용한다고 크게 안좋아지지 않으므로 변경함
- 초기화를 한번만 함 - API Gateway의 요청(InputStream)을 받아서 Spring에게 넘기고(proxyStream), Spring의 응답을 다시 API Gateway가 이해할 수 있게 OutputStream 으로 내보냄
- Lambda ZIP 빌드 설정 추가 - samconfig 에는 prod 용 설정도 우선 작성해둠. 추후 prod 마이그레이션 시 참고용
- 앞선 로직에서 예외 발생 시 캐시와 DB 정합성 문제를 없애기 위함 - 예전에 DB-Redis 정합성 문제를 해결하면서 변경했던 것으로 기억하는데 반영이 누락되어 있어서 해당 PR에서 반영함
huncozyboy
approved these changes
Jan 12, 2026
Member
huncozyboy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다
- lambda 환경에서 EventBridge 를 통해 API 호출을 진행하여 스케줄링 작업을 수행하도록 하기 위함
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issue 🛠
Work Description ✏️
To Reviewers 📢
@Lazy어노테이션을 붙이는게 Prod 환경에선 안좋을 수 있을 것 같아서 우선 제외했습니다.스케줄러도 람다 환경에선 동작하지 않을텐데 현재 솝탬프 점수 정합성을 위한 스케줄러 정도만 존재해서.. prod에선 스케줄러를 그대로 사용할 수 있으므로 우선 변경하지 않았습니다.